package com.damenggroup.base.callback.databind

import androidx.databinding.ObservableField

/**
 *Customized ObservableField in which the value is Boolean.it provides default value
 * to avoid determining whether its value is null when accessing its value
 */
class BooleanObservableField(value: Boolean = false) : ObservableField<Boolean>(value) {
    override fun get(): Boolean {
        return super.get()!!
    }

}